<template>
  <div id="app">
    <Header></Header>
    <router-view></router-view>
    <Floor v-show="$route.meta.show"></Floor><!--这里不同用routers-->
  </div>
</template>

<script>
import Header from './components/Header/header.vue'
import Floor from './components/Floor/floor.vue'
export default {
  name: 'App',
  components: {
    Header,
    Floor,
}
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
